package cn.tedu.hospital.management.dao.persist.repository.impl;

import cn.tedu.hospital.management.dao.persist.mapper.ProvinceMapper;
import cn.tedu.hospital.management.dao.persist.repository.ProvinceRepository;
import cn.tedu.hospital.management.pojo.entity.Province;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class ProvinceRepositoryImpl implements ProvinceRepository {
    @Autowired
    ProvinceMapper provinceMapper;
    @Override
    public List<Province> getAllProvince() {
        return provinceMapper.getProvince();
    }
}
